/**
 * 
 */
package com.yuyi.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 
 * @author wxt <br>
 *
 * 2018年12月25日 下午7:55:12
 */
@Configuration
@ConfigurationProperties(prefix = "spring.redis")
public class RedisConfigProperties{
   
    public RedisConfigProperties() {
    }

    private String host;
    
    private Integer port;
   
    private String password;

    
    @Override
    public String toString() {
        return "RedisConfigProperties [host=" + host + ", port=" + port + ", password=" + password + "]";
    }

    /**
     * @return host
     */
    public String getHost() {
        return host;
    }

    /**
     * @param host 要设置的 host
     */
    public void setHost(String host) {
        this.host = host;
    }

    /**
     * @return port
     */
    public Integer getPort() {
        return port;
    }

    /**
     * @param port 要设置的 port
     */
    public void setPort(Integer port) {
        this.port = port;
    }

    /**
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password 要设置的 password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    
}
